You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
476 B

# Ferienwohnung Management
# File: Makefile
#
# Last modified: 18.08.2017
TARGET=fewo-blacklist
LIBS=
CC=g++
CFLAGS=-march=native -O2 -g -Wall
default: $(TARGET)
all: default
OBJECTS = $(patsubst %.cpp, %.o, $(wildcard *.cpp))
HEADERS = $(wildcard *.h)
%.o: %.c $(HEADERS)
$(CC) $(CFLAGS) -c $< -o $@
$(TARGET): $(OBJECTS)
$(CC) $(OBJECTS) -Wall $(LIBS) -o $@
clean:
-rm -f *.o
-rm -f $(TARGET)
run:
./$(TARGET)
reset:
-echo > daten.txt
-echo 0 > counter.txt