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