21 lines
319 B
Makefile
Raw Normal View History

2024-12-31 02:57:48 +01:00
CC=gcc
2025-03-21 08:25:05 +01:00
CFLAGS=-Wall -g -I/usr/include/python3.14 -lpython3.14
2024-12-31 02:57:48 +01:00
LDFLAGS=-lm
OBJS=pgs.o
TARGET=pgs
2025-03-21 08:25:05 +01:00
upstreams:
ssh -f -N -L 3028:127.0.0.1:3028 molodetz.nl
ssh -f -N -L 8082:127.0.0.1:8082 molodetz.nl
2024-12-31 02:57:48 +01:00
build:
$(CC) pgs.c $(CFLAGS) $(LDFLAGS) -o $(TARGET)
run: build
./$(TARGET)
clean:
2025-03-21 08:25:05 +01:00
rm -f $(OBJS) $(TARGET)