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:
parent
a87d35c18e
commit
a05a387b35
12
src/makefile
12
src/makefile
@ -6,12 +6,18 @@ OBJECTS=$(SOURCES:.cpp=.o)
|
||||
EXECUTABLE=xlxd
|
||||
|
||||
all: $(SOURCES) $(EXECUTABLE)
|
||||
|
||||
$(EXECUTABLE): $(OBJECTS)
|
||||
|
||||
$(EXECUTABLE): $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) $(OBJECTS) -o $@
|
||||
|
||||
.cpp.o:
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
clean:
|
||||
rm *.o
|
||||
rm *.o
|
||||
|
||||
install:
|
||||
mkdir -p /xlxd
|
||||
cp ./xlxd /xlxd/
|
||||
cp ../config/xlxd.blacklist /xlxd/
|
||||
cp ../config/xlxd.whitelist /xlxd/
|
||||
|
Loading…
Reference in New Issue
Block a user