blob: 01ecfba021ab499bbb99a891d45bbf22420a2c05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
CC = gcc
CFLAGS = -g -Wall -W
.PHONY: all clean
TARGET = sws
OBJS= sws.o getpart.o
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^
clean:
-rm -f $(OBJS) *~ $(TARGET) core logfile
|