# Project: GCMWipe

CPP  = g++
CC   = gcc
RES  = 
OBJ  = main.o gcm.o $(RES)
LINKOBJ  = main.o gcm.o $(RES)
INCS =  -I"."
BIN  = gcmwipe
CFLAGS = $(INCS) 

.PHONY: all all-before all-after clean clean-custom

all: all-before gcmwipe all-after


clean: clean-custom
	rm -f $(OBJ) $(BIN)

$(BIN): $(LINKOBJ)
	$(CPP) $(LINKOBJ) -o "gcmwipe"

main.o: main.cpp
	$(CPP) -c main.cpp -static -o main.o $(CFLAGS) -STATIC

gcm.o: gcm.cpp
	$(CPP) -c gcm.cpp -static -o gcm.o $(CFLAGS)
