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

16 lines
249 B
Makefile
Executable File

CC = gcc
CFLAGS = -Os -g -Wall -W -Wwrite-strings
LDFLAGS =
O_TARGET = linklist
SRCS = main.c Linked.c
OBJS = main.o Linked.o
all: $(OBJS)
$(CC) $(LDFLAGS) -o $(O_TARGET) $(OBJS)
$(SRCS):
$(CC) $(CFLAGS) -o $@ $*.c
clean:
@rm *.o $(O_TARGET)