Last change
on this file since 10 was
10,
checked in by sven, 16 years ago
|
I began to build the Windows Punching Backend, using a WINNT User mode dll to perform CPU register read/write operations from user mode. Additionally wrote documentation.
-- Sven @ winXp workstation at Susanne
|
File size:
1.0 KB
|
Line | |
---|
1 | # |
---|
2 | # this Makefile is currently (only) Linux specific. |
---|
3 | # Run ` make -fMakefile.win ` at Windows. |
---|
4 | # |
---|
5 | |
---|
6 | |
---|
7 | CFLAGS = -Wall |
---|
8 | |
---|
9 | # Visualisation files |
---|
10 | VISUALISATION_DIR = ../visualisator |
---|
11 | VISUALISATION_FILES = $(VISUALISATION_DIR)/gtkpapertape.o $(VISUALISATION_DIR)/lochstreifen.o |
---|
12 | |
---|
13 | GTK_CFLAGS = `pkg-config --cflags gtk+-2.0` |
---|
14 | GTK_LFLAGS = `pkg-config --libs gtk+-2.0` |
---|
15 | |
---|
16 | # complete binaries: |
---|
17 | all: cli gtk |
---|
18 | |
---|
19 | cli: frontend.cli.o backend.dummy.o |
---|
20 | gcc $(GTK_LFLAGS) -o $@ $^ |
---|
21 | |
---|
22 | gtk: frontend.gtk.o backend.dummy.o |
---|
23 | gcc $(GTK_LFLAGS) -o $@ $^ $(VISUALISATION_FILES) |
---|
24 | |
---|
25 | # frontends: |
---|
26 | frontend.cli.o: frontend.cli.c backend.h |
---|
27 | gcc $(CFLAGS) -c frontend.cli.c |
---|
28 | |
---|
29 | frontend.gtk.o: frontend.gtk.c backend.h visualisator |
---|
30 | # zunaechst kein -Wall (CFLAGS) waehrend entwicklung: |
---|
31 | gcc $(GTK_CFLAGS) -c frontend.gtk.c |
---|
32 | |
---|
33 | .PHONY: visualisator |
---|
34 | visualisator: |
---|
35 | $(MAKE) -C $(VISUALISATION_DIR) gtkpapertape.o |
---|
36 | |
---|
37 | # backends: |
---|
38 | backend.dummy.o: backend.dummy.c backend.h |
---|
39 | gcc $(CFLAGS) -c backend.dummy.c |
---|
40 | |
---|
41 | backend.linux.o: backend.linux.c backend.h |
---|
42 | gcc $(CFLAGS) -c backend.linux.c |
---|
43 | |
---|
44 | |
---|
45 | # clean |
---|
46 | clean: |
---|
47 | rm *.o cli gtk |
---|
Note: See
TracBrowser
for help on using the repository browser.