From 1f0555c7fa12de7ad00eb29d5f3854ebaff88970 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 5 May 2009 00:44:35 -0500 Subject: add sample skeleton files --- skeletons/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 skeletons/Makefile (limited to 'skeletons/Makefile') diff --git a/skeletons/Makefile b/skeletons/Makefile new file mode 100644 index 0000000..30934a0 --- /dev/null +++ b/skeletons/Makefile @@ -0,0 +1,27 @@ +BIN = +OBJ = +CC = gcc +INCLUDES = +DEFINES = +LIBS = +COMMONFLAGS = -Werror -Wall -pedantic -O0 -g -pipe +CFLAGS = -c $(INCLUDES) $(DEFINES) $(COMMONFLAGS) +LDFLAGS = $(LIBS) $(COMMONFLAGS) + +$(BIN) : $(OBJ) + $(CC) $(OBJ) $(LDFLAGS) -o $@ + +%.o : %.c + $(CC) $(CFLAGS) -o $@ $< + +clean : + rm -f $(OBJ) $(BIN) + +dep : + makedepend $(INCLUDES) $(DEFINES) -Y *.c *.h > /dev/null 2>&1 + rm -f Makefile.bak + +run : $(BIN) + @./$(BIN) +:normal ggA +:startinsert! -- cgit v1.2.3-54-g00ecf