diff options
Diffstat (limited to 'progs/tests/Makefile')
-rw-r--r-- | progs/tests/Makefile | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/progs/tests/Makefile b/progs/tests/Makefile index 634d9786f26..faab7898756 100644 --- a/progs/tests/Makefile +++ b/progs/tests/Makefile @@ -6,30 +6,28 @@ CC = gcc -CFLAGS = -c -g -I../include +CFLAGS = -g -I../include LIBS = -L../lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm +PROGS = cva \ + manytex \ + sharedtex \ + texline -PROGRAMS = manytex sharedtex +##### RULES ##### -default: $(PROGRAMS) - -clean: - rm -f $(PROGRAMS) - rm -f *.o - +.SUFFIXES: +.SUFFIXES: .c +.c: + $(CC) $(CFLAGS) $< $(LIBS) -o $@ -manytex: manytex.o - $(CC) manytex.o $(LIBS) -o $@ -manytex.o: manytex.c - $(CC) $(CFLAGS) manytex.c +##### TARGETS ##### +default: $(PROGS) -sharedtex: sharedtex.o - $(CC) sharedtex.o $(LIBS) -o $@ - -sharedtex.o: sharedtex.c - $(CC) $(CFLAGS) sharedtex.c +clean: + rm -f $(PROGS) + rm -f *.o |