1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2024-11-05 15:41:18 -05:00

version 1.1.1

added “install” goal to makefile
This commit is contained in:
LX3JL 2016-01-02 16:02:58 +01:00
parent a87d35c18e
commit a05a387b35

View File

@ -6,12 +6,18 @@ OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=xlxd EXECUTABLE=xlxd
all: $(SOURCES) $(EXECUTABLE) all: $(SOURCES) $(EXECUTABLE)
$(EXECUTABLE): $(OBJECTS) $(EXECUTABLE): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) -o $@ $(CC) $(LDFLAGS) $(OBJECTS) -o $@
.cpp.o: .cpp.o:
$(CC) $(CFLAGS) $< -o $@ $(CC) $(CFLAGS) $< -o $@
clean: clean:
rm *.o rm *.o
install:
mkdir -p /xlxd
cp ./xlxd /xlxd/
cp ../config/xlxd.blacklist /xlxd/
cp ../config/xlxd.whitelist /xlxd/