builds with clang

This commit is contained in:
Jeffrey Crowell 2022-06-20 15:20:10 -04:00
parent 4febaa32fa
commit 56718c47a8
1 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ LDLIBS := \
bz2 \
z \
pthread \
atomic \
storm \
ultraship \
)
@ -119,7 +119,7 @@ endif
ifeq ($(UNAME), Darwin) #APPLE
LDLIBS += \
$(addprefix -framework, \
$(addprefix -framework , \
OpenGL \
) \
$(shell sdl2-config --libs) $(shell pkg-config --libs glew)
@ -211,7 +211,7 @@ build/%.o: %.c
$(TARGET): $(LIBULTRASHIP)
$(TARGET): $(O_FILES)
$(CXX) $^ -o $@ $(LDFLAGS) -fuse-ld=$(LD) $(LDDIRS) $(LDLIBS)
$(CXX) $^ -o $@ $(LDFLAGS) $(LDDIRS) $(LDLIBS)
-include $(D_FILES)