diff options
Diffstat (limited to 'progs')
-rw-r--r-- | progs/glsl/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile index aaa54cbe71..3b5a5959ae 100644 --- a/progs/glsl/Makefile +++ b/progs/glsl/Makefile @@ -16,7 +16,7 @@ LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) -l$(GLU_LIB) \ # using : to avoid APP_CC pointing to CC loop CC := $(APP_CC) CFLAGS := -I$(INCDIR) $(CFLAGS) -LDLIBS = $(LIBS) $(ARCH_FLAGS) +LDLIBS = $(LIBS) PROG_SOURCES = \ array.c \ @@ -69,6 +69,9 @@ $(PROG_OBJS): $(UTIL_HEADERS) $(PROGS): $(UTIL_OBJS) +.o: + $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@ + clean: -rm -f $(PROGS) -rm -f *.o *~ |