mirror of
https://github.com/moparisthebest/curl
synced 2024-11-13 21:15:08 -05:00
19 lines
250 B
Makefile
19 lines
250 B
Makefile
CC = gcc
|
|
OPTIM = -O2
|
|
DEF = -DDEFAULT_PORT=7676
|
|
CFLAGS = -g -Wall $(OPTIM) $(DEF)
|
|
|
|
.PHONY: all clean
|
|
|
|
TARGET = sws
|
|
OBJS= sws.o getpart.o
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CC) $(LDFLAGS) -o $@ $^
|
|
|
|
clean:
|
|
-rm -f $(OBJS) *~ $(TARGET) core logfile
|
|
|