diff options
Diffstat (limited to 'common/win/my_getopt-1.5/Makefile.test')
-rw-r--r-- | common/win/my_getopt-1.5/Makefile.test | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/common/win/my_getopt-1.5/Makefile.test b/common/win/my_getopt-1.5/Makefile.test new file mode 100644 index 00000000..083cc4aa --- /dev/null +++ b/common/win/my_getopt-1.5/Makefile.test @@ -0,0 +1,26 @@ +all: copy + +# Compiler options +#CCOPTS = -g -O3 -Wall -Werror +CCOPTS = + +# Compiler +CC = gcc -Wall -Werror +#CC = cc + +# Linker +LD = $(CC) + +# Utility to remove a file +RM = rm + +OBJS = main.o my_getopt.o + +copy: $(OBJS) + $(LD) -o $@ $(OBJS) + +clean: + $(RM) -f copy $(OBJS) *~ + +%.o: %.c getopt.h my_getopt.h + $(CC) $(CCOPTS) -o $@ -c $< |