Skip to content

Commit

Permalink
Add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolaj Feliks committed Aug 5, 2023
1 parent 943d8dd commit 75b17a5
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
55 changes: 55 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
all: harmonia.exe

harmonia.exe: bonus.obj boom.obj bullets.obj clock.obj control.obj enemies.obj font.obj gfx.obj globals.obj intro.obj laser.obj main.obj player.obj results.obj sound.obj stars.obj
tlink @tlink.txt

bonus.obj: bonus.c
tcc -1 -ml -c bonus.c

boom.obj: boom.c
tcc -1 -ml -c boom.c

bullets.obj: bullets.c
tcc -1 -ml -c bullets.c

clock.obj: clock.c
tcc -1 -ml -c clock.c

control.obj: control.c
tcc -1 -ml -c control.c

enemies.obj: enemies.c
tcc -1 -ml -c enemies.c

font.obj: font.c
tcc -1 -ml -c font.c

gfx.obj: gfx.c
tcc -1 -ml -c gfx.c

globals.obj: globals.c
tcc -1 -ml -c globals.c

intro.obj: intro.c
tcc -1 -ml -c intro.c

laser.obj: laser.c
tcc -1 -ml -c laser.c

main.obj: main.c
tcc -1 -ml -c main.c

player.obj: player.c
tcc -1 -ml -c player.c

results.obj: results.c
tcc -1 -ml -c results.c

sound.obj: sound.c
tcc -1 -ml -c sound.c

stars.obj: stars.c
tcc -1 -ml -c stars.c

clean:
del *.obj *.map harmonia.exe
1 change: 1 addition & 0 deletions tlink.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c0l bonus.obj boom.obj bullets.obj clock.obj control.obj enemies.obj font.obj gfx.obj globals.obj intro.obj laser.obj main.obj player.obj results.obj sound.obj stars.obj,harmonia.exe,,cl mathl fp87 -Lc:\tc\lib

0 comments on commit 75b17a5

Please sign in to comment.