You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
381 B
Makefile
21 lines
381 B
Makefile
CFLAGS=-Wall -O3
|
|
PROGRAMS=simple_pointer adv_pointer char_pointer
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
simple_pointer:
|
|
gcc -o simple_pointer $(CFLAGS) simple_pointer.c
|
|
|
|
adv_pointer:
|
|
gcc -o adv_pointer $(CFLAGS) adv_pointer.c
|
|
|
|
char_pointer:
|
|
gcc -o char_pointer $(CFLAGS) char_pointer.c
|
|
|
|
# NOT IMPLEMENTED
|
|
#array_pointer:
|
|
# gcc -o array_pointer -Wall -O1 array_pointer.c
|
|
|
|
clean:
|
|
rm -f $(PROGRAMS)
|