Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#--------------------------------------------------------------------#
|
||||
# @date 2018-03-10 #
|
||||
# #
|
||||
# myexpand - A program to expand tabstops #
|
||||
#--------------------------------------------------------------------#
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809L -g -c
|
||||
|
||||
.PHONY all: myexpand
|
||||
|
||||
myexpand: myexpand.o
|
||||
$(CC) -o $@ $^
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $^
|
||||
|
||||
.PHONY clean:
|
||||
rm -f myexpand.o myexpand
|
||||
Reference in New Issue
Block a user