diff options
Diffstat (limited to 'progs/miniglx/Makefile.solo')
-rw-r--r-- | progs/miniglx/Makefile.solo | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/progs/miniglx/Makefile.solo b/progs/miniglx/Makefile.solo new file mode 100644 index 00000000000..0cca1e07e35 --- /dev/null +++ b/progs/miniglx/Makefile.solo @@ -0,0 +1,62 @@ +# Makefile for miniglx demo programs + +TOP = ../.. + +default: linux-solo + +LIBS = $(APP_LIB_DEPS) + +SOURCES = miniglxtest.c \ +miniglxsample.c \ +sample_server.c \ +sample_server2.c \ +manytex.c \ +texline.c + +OBJECTS = $(SOURCES:.c=.o) + +PROGS = $(SOURCES:%.c=%) + +INCLUDES = \ + -I. \ + -I$(TOP)/include + +##### RULES ##### + +.SUFFIXES: +.SUFFIXES: .c + +.c: + $(CC) $(INCLUDES) $(CFLAGS) $< $(LIBS) -o $@ + +.c.o: + $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ + +.S.o: + $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ + + +##### TARGETS ##### + +targets: depend $(PROGS) + +clean: + rm -f $(PROGS) + rm -f *.o + + +# Run 'make -f Makefile.solo dep' to update the dependencies if you change +# what's included by any source file. +depend: $(SOURCES) + makedepend -fdepend -Y $(INCLUDES) \ + $(SOURCES) + + +# Emacs tags +tags: + etags `find . -name \*.[ch]` `find ../include` + + +include $(TOP)/Make-config + +include depend |