2018-07-25 15:55:44 -03:00

17 lines
203 B
Makefile

TARGET=sagem_build
CC=gcc
CFLAGS=-c -Wall -I.
all: $(TARGET)
$(TARGET): sagem_build.o
$(CC) -lz -lssl -o $@ $<
%.o: %.c sagem_build.h
$(CC) $(CFLAGS) -c -o $@ $<
clean:
rm -rf *.o *~ $(TARGET)