obfuscator/Obfuscator-3_0/Makefile

27 lines
722 B
Makefile

PROJ := Obfuscator
PROJw := $(PROJ).exe
FILES := Obfuscate
BDIR := bin
OBJS := $(patsubst %,$(BDIR)/%.o,$(FILES))
SRCS := $(patsubst %,%.c,$(FILES))
H := $(patsubst %,%.h,$(FILES))
CC := gcc
OF := -Wall -O3 -fasm -fomit-frame-pointer -ffast-math -funroll-loops -fasm -fomit-frame-pointer -ffast-math -funroll-loops -pedantic -ansi
CF := -ansi
CCw := /usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-gcc
OFw := -Wall -O3 -fasm -fomit-frame-pointer -ffast-math -funroll-loops -fasm -fomit-frame-pointer -ffast-math -funroll-loops -pedantic -mwindows
default: $(BDIR)/$(PROJ)
$(BDIR)/$(PROJ): $(OBJS)
$(CC) $(OF) $(CF) $^ -o $@
$(BDIR)/%.o: %.c
$(CC) $(OF) -c $< -o $@
.PHONY: clean
clean:
-rm $(OBJS)