1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-30 00:00:15 +01:00
libhermit/tools/Makefile
2016-12-03 00:43:49 +01:00

34 lines
560 B
Makefile

MAKE = make
CC = gcc
CFLAGS = -O2 -Wall -std=gnu99 $(ARCH_OPT)
PROXYFILES = proxy init.sh $(shell find ../usr/tests ../usr/benchmarks ../usr/openmpbench -type f -executable)
# Prettify output
V = 0
ifeq ($V,0)
Q = @
P = > /dev/null
endif
# other implicit rules
%.o : %.c
@echo [CC] $@
$Q$(CC) -c $(CFLAGS) -o $@ $<
all: proxy
proxy: proxy.o
@echo [LD] $@
$Q$(CC) $(CFLAGS) -o $@ $<
clean:
@echo Cleaning tools
$Q$(RM) -rf *.o *~ *.bin *.obj
veryclean: clean
depend:
$(CC) -MM $(CFLAGS) *.c > Makefile.dep
-include Makefile.dep
# DO NOT DELETE