1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2024-12-23 01:55:49 -05:00

Merge pull request #4 from phl0/CorrectMakefile

Use predefined $(RM)
This commit is contained in:
LX3JL 2016-06-28 18:37:47 +02:00 committed by GitHub
commit 853d184de9

View File

@ -4,6 +4,7 @@ LDFLAGS=-std=c++11 -pthread
SOURCES=$(wildcard *.cpp)
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=xlxd
RM=rm -f
all: $(SOURCES) $(EXECUTABLE)
@ -14,7 +15,7 @@ $(EXECUTABLE): $(OBJECTS)
$(CC) $(CFLAGS) $< -o $@
clean:
rm *.o
$(RM) *.o
install:
mkdir -p /xlxd