Linking game-nogl target with correct libs
authormatthew <matthew@owens.tech>
Sat, 4 Aug 2018 11:54:59 +0000 (12:54 +0100)
committermatthew <matthew@owens.tech>
Sat, 4 Aug 2018 11:54:59 +0000 (12:54 +0100)
Makefile

index 348dbd2..180405f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ $(GL_TARGET): $(COMMON_OBJECTS) $(GL_OBJECTS)
        $(CC) $(COMMON_OBJECTS) $(GL_OBJECTS) -Wall $(LIBS) -o $@
 
 $(NOGL_TARGET): $(COMMON_OBJECTS) $(NOGL_OBJECTS)
-       $(CC) $(COMMON_OBJECTS) $(NOGL_OBJECTS) -Wall $(LIBS) -o $@
+       $(CC) $(COMMON_OBJECTS) $(NOGL_OBJECTS) -Wall $(NOGL_LIBS) -o $@
 
 common/%.o: common/%.c
        $(CC) $(CFLAGS) -c $^ -o $@