mirror of
1
0
Fork 0
ped/Makefile

26 lines
440 B
Makefile
Raw Normal View History

2020-05-05 19:39:03 +02:00
# Makefile for the Plugable EDitor #
CC=gcc
2020-05-05 20:30:39 +02:00
FLAGS=-Wall -pedantic -ldl
2020-05-05 19:39:03 +02:00
EXE=bin/ped
all: install
2020-05-05 23:14:15 +02:00
$(CC) src/tty.c -o tty.o -c
2020-05-06 10:37:20 +02:00
$(CC) src/utils.c -o utils.o -c
2020-05-06 18:19:20 +02:00
$(CC) src/commands.c -o commands.o -c
$(CC) $(FLAGS) -o $(EXE) src/ped.c tty.o utils.o commands.o
2020-05-06 20:15:35 +02:00
gcc src/plugins/zifty.c -o zifty.o -shared -fPIC
2020-05-05 19:44:25 +02:00
test: clean all
./bin/ped test
rm -rf test
2020-05-05 19:39:03 +02:00
install:
mkdir -p obj
mkdir -p bin
clean:
2020-05-05 19:41:56 +02:00
rm -rf test
2020-05-05 19:39:03 +02:00
rm -rf bin
rm -rf obj