mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2024-12-27 09:58:59 +01:00
21 lines
273 B
Makefile
21 lines
273 B
Makefile
|
|
OBJS=skindle.o md5.o sha1.o b64.o
|
|
|
|
CC=gcc
|
|
LD=gcc
|
|
EXE=skindle
|
|
EXTRALIBS=-lCrypt32
|
|
|
|
#use the following to strip your binary
|
|
LDFLAGS=-s
|
|
|
|
all: $(EXE)
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $(INC) $< -o $@
|
|
|
|
$(EXE): $(OBJS)
|
|
$(LD) $(LDFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
|
|
|
|
clean:
|
|
-@rm *.o
|