mirror of
https://github.com/Smaug123/hvm
synced 2025-10-07 21:48:39 +00:00
Reorganise for Travis
This commit is contained in:
12
Makefile
Normal file
12
Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
CC=gcc
|
||||
CFLAGS=-I. -Werror -Wextra
|
||||
HVM_SUBFOLDER=hvm
|
||||
|
||||
hvm: $(HVM_SUBFOLDER)/hvm.o
|
||||
$(CC) -o hvm_execute $(HVM_SUBFOLDER)/main.c $(HVM_SUBFOLDER)/hvm.c $(CFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(HVM_SUBFOLDER)/*.o
|
||||
|
||||
test: $(HVM_SUBFOLDER)/hvm.o
|
||||
./test.sh
|
0
hvm/configure → configure
vendored
0
hvm/configure → configure
vendored
11
hvm/Makefile
11
hvm/Makefile
@@ -1,11 +0,0 @@
|
||||
CC=gcc
|
||||
CFLAGS=-I. -Werror -Wextra
|
||||
|
||||
hvm: hvm.o
|
||||
$(CC) -o hvm main.c hvm.c $(CFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
||||
test: hvm.o
|
||||
./test.sh
|
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
[ $(./hvm "123451^2v5:4?9p2g8pppppp" "") == "945321" ]
|
Reference in New Issue
Block a user