Append suffix

This commit is contained in:
Braiden Vasco 2017-11-09 15:42:50 +00:00
parent 68a1913e1a
commit b1ae881e99
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
OUTPUT = libsrc.a
OBJS = info.o memset.o strlen.o itoa.o strncpy.o
OBJS = info.c.o memset.c.o strlen.c.o itoa.c.o strncpy.c.o
all: $(OUTPUT)
@ -10,5 +10,5 @@ clean:
$(OUTPUT): $(OBJS)
$(AR) -rcs $@ $(OBJS)
%.o: %.c
%.c.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)