mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-14 22:30:12 -05:00
builds with clang
This commit is contained in:
parent
4febaa32fa
commit
56718c47a8
@ -102,7 +102,7 @@ LDLIBS := \
|
|||||||
bz2 \
|
bz2 \
|
||||||
z \
|
z \
|
||||||
pthread \
|
pthread \
|
||||||
atomic \
|
storm \
|
||||||
ultraship \
|
ultraship \
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(UNAME), Darwin) #APPLE
|
ifeq ($(UNAME), Darwin) #APPLE
|
||||||
LDLIBS += \
|
LDLIBS += \
|
||||||
$(addprefix -framework, \
|
$(addprefix -framework , \
|
||||||
OpenGL \
|
OpenGL \
|
||||||
) \
|
) \
|
||||||
$(shell sdl2-config --libs) $(shell pkg-config --libs glew)
|
$(shell sdl2-config --libs) $(shell pkg-config --libs glew)
|
||||||
@ -211,7 +211,7 @@ build/%.o: %.c
|
|||||||
$(TARGET): $(LIBULTRASHIP)
|
$(TARGET): $(LIBULTRASHIP)
|
||||||
|
|
||||||
$(TARGET): $(O_FILES)
|
$(TARGET): $(O_FILES)
|
||||||
$(CXX) $^ -o $@ $(LDFLAGS) -fuse-ld=$(LD) $(LDDIRS) $(LDLIBS)
|
$(CXX) $^ -o $@ $(LDFLAGS) $(LDDIRS) $(LDLIBS)
|
||||||
|
|
||||||
-include $(D_FILES)
|
-include $(D_FILES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user