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
237 B
Makefile
Raw Normal View History

2004-02-11 02:58:36 -05:00
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