2
0
mirror of https://github.com/apprenticeharper/DeDRM_tools synced 2024-11-09 07:10:34 +00:00
DeDRM_tools/skindle/Makefile

24 lines
381 B
Makefile
Raw Normal View History

2009-12-28 22:02:00 +00:00
2010-01-02 21:21:06 +00:00
OBJS=skindle.o md5.o sha1.o b64.o skinutils.o cbuf.o mobi.o tpz.o
2009-12-28 22:02:00 +00:00
CC=gcc
LD=gcc
EXE=skindle
2010-01-02 21:21:06 +00:00
EXTRALIBS=libz.a -lCrypt32 -lAdvapi32
CFLAGS=-mno-cygwin
2009-12-28 22:02:00 +00:00
#use the following to strip your binary
2010-01-02 21:21:06 +00:00
LDFLAGS=-s -mno-cygwin
#LDFLAGS=-mno-cygwin
2009-12-28 22:02:00 +00:00
all: $(EXE)
%.o: %.c
2010-01-02 21:21:06 +00:00
$(CC) -c $(CFLAGS) -g $(INC) $< -o $@
2009-12-28 22:02:00 +00:00
$(EXE): $(OBJS)
2010-01-02 21:21:06 +00:00
$(LD) $(LDFLAGS) -o $@ -g $(OBJS) $(EXTRALIBS)
2009-12-28 22:02:00 +00:00
clean:
-@rm *.o