Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
all: myapp
|
||||
|
||||
myapp: myapp.o
|
||||
$(CC) $(LDFLAGS) $< -o $@
|
||||
|
||||
myapp.o: myapp.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -rf myapp.o myapp
|
||||
@@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
printf("Hello world\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user