Makefile: "zip" target to create a .tgz source archive. Docs: added GPL license.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@167 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2008-09-25 19:13:01 +00:00
parent e219797b16
commit 8c9f66625d
2 changed files with 344 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ COPT = -Wall -c -g $(SCREEN)
LOPT = -lSDL -o $(BIN)
endif
.PHONY : all debug release clean depend
.PHONY : all debug release clean depend zip
CC = gcc
OBJ = main.o init.o graph.o sdlscreen.o divers.o special.o boutons.o palette.o aide.o operatio.o pages.o loadsave.o readline.o moteur.o files.o op_c.o linux.o op_asm.o readini.o saveini.o shade.o
@@ -27,6 +27,10 @@ debug : $(BIN)
release : $(BIN)
strip $(BIN)
# A raw source archive
zip :
tar cvzf gfx2-src.tgz *.c *.h Makefile Makefile.dep gfx2.dat gfx2.ini gfx2.cfg doc/gpl-2.0.txt
$(BIN) : $(OBJ)
$(CC) $(OBJ) -o $(BIN) $(LOPT)