summaryrefslogtreecommitdiff
path: root/Makefile
blob: 97a61ed435d617ae65227473ab8aa678af79664b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TARGET = procfs
OBJS = procfs.o netfs.o procfs_file.o procfs_dir.o \
       process.o proclist.o dircat.o main.o
LIBS = -lnetfs

CC = gcc
CFLAGS = -Wall -g
CPPFLAGS =

CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64

all: $(TARGET)

$(TARGET): $(OBJS)
	$(CC) $(CFLAGS) -o $@ $^ $(LIBS)

clean:
	$(RM) $(TARGET) $(OBJS)