forked from hkc/sfxd
1
0
Fork 0

Initial commit

This commit is contained in:
Casey 2024-02-21 13:27:25 +03:00
commit a290811966
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
3 changed files with 24 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
obj/*
sfxd

16
Makefile Normal file
View File

@ -0,0 +1,16 @@
CFLAGS +=
LDFLAGS := -lm
OBJECTS :=
sfxd: lib
$(CC) $(CFLAGS) $(OBJECTS) src/main.c $(LDFLAGS) -o sfxd
all: sfxd
lib: $(OBJECTS)
clean:
$(RM) $(OBJECTS) sfxd
obj/%.o: src/%.c
$(CC) $(CFLAGS) -c $^ -o $@

6
src/main.c Normal file
View File

@ -0,0 +1,6 @@
#include <stdio.h>
#include <math.h>
int main(void) {
printf("Hi!\n");
}