|
|
@ -3,8 +3,6 @@ LIBS=
|
|
|
|
CC=g++
|
|
|
|
CC=g++
|
|
|
|
CFLAGS=-march=native -O2 -g -Wall
|
|
|
|
CFLAGS=-march=native -O2 -g -Wall
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: default all clean
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
default: $(TARGET)
|
|
|
|
default: $(TARGET)
|
|
|
|
all: default
|
|
|
|
all: default
|
|
|
|
|
|
|
|
|
|
|
@ -14,8 +12,6 @@ HEADERS = $(wildcard *.h)
|
|
|
|
%.o: %.c $(HEADERS)
|
|
|
|
%.o: %.c $(HEADERS)
|
|
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
|
|
|
|
|
|
|
|
.PRECIOUS: $(TARGET) $(OBJECTS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(TARGET): $(OBJECTS)
|
|
|
|
$(TARGET): $(OBJECTS)
|
|
|
|
$(CC) $(OBJECTS) -Wall $(LIBS) -o $@
|
|
|
|
$(CC) $(OBJECTS) -Wall $(LIBS) -o $@
|
|
|
|
|
|
|
|
|
|
|
|