This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
convexhull/Makefile

17 lines
231 B
Makefile

CC=g++
CFLAGS=-Os -Wall -W -Wwrite-strings
LDFLAGS=
O_TARGET=hull
SRCS=hull.cpp
OBJS=hull.o
all: $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $(O_TARGET) $(OBJS)
strip $(O_TARGET)
$(SRCS):
$(CC) $(CFLAGS) -o $@ $*.c
clean:
@rm *.o